import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)


import myform from '@/views/myform.vue'
import myother from '@/views/myother.vue'
import mypagination from '@/views/mypagination.vue'
import mytable from '@/views/mytable.vue'
import mytree from '@/views/mytree.vue'

const routes = [
  {path:'/myfrom' , component:myform },
  {path:'/myother' , component:myother },
  {path:'/mypagination' , component:mypagination },
  {path:'/mytable' , component:mytable },
  {path:'/mytree' , component:mytree },
]

const router = new VueRouter({
  mode: 'hash',
  routes
})

export default router
